package com.authine.cloudpivot.ext.service;

import java.util.Map;

public interface SyncOrgSevice {

    Map<String, Object> syncOrgAll(String userId);

    Map<String, Object> syncOrgIncrement(String userId, String deptartmentId);

    Map<String, Object> syncUsers(String userId, String deptartmentId);

    Map<String, Object> syncUsersV2(String userId, String deptartmentId);

    void updateQueryCode();

    Map<String, Object> syncOrgAllV2(String userId);

    Map<String, Object> syncOrgIncrementV2(String userId, String deptartmentId);

    void updateQueryCodeV2();

    Map<String, Object> registerEventCallback(String eventTag, String callbackUrl);

    Map<String, Object> queryCallbackDefine();

    Map<String, Object> updateEventCallbackDefine(Long eventCallbackId, String callbackUrl);

    Map<String, Object> deleteEventCallbackDefine(Long eventCallbackId);

    Map<String, Object> queryCallbackFailed();

    Map<String, Object> retryCallbackFailed(Long eventCallbackFailedId);

    Map<String, Object> removeCallbackFailed(Long eventCallbackFailedId);

    void updateQueryCodeV3(String deptId);
}
